import React from 'react';
class AddUser extends React.Component {
    go=()=>{
        this.props.history.push('/userlist')
    }
    render() {
        return <div className=''>
            <button onClick={this.go}>list</button>
        </div>;
    }
}
export default AddUser